CRegionSite.cs
Code Type: C# Class
Uses Classes: CMDWSOps, CDataParameterList, CDataSet
Uses PL/SQL Procedures: PCK_REGION_SITE.GetRegionRS, PCK_REGION_SITE.GetSiteRS

Lines of Code: 93

public class CRegionSite

	CRegionSite class is used to retrieve region and site data 

public CRegionSite(BaseMaster BaseMstr)

	 constructor takes basemaster 

public DataSet GetRegionsDS()

	 Gets a dataset of all regions, will transfer regions form MDWS etc as needed 

public DataSet GetSiteDS(long lRegionID)

	 gets a dataset of all sites for one region 

public DataSet GetSiteDS(string strSRV,
                             string strPort)

	gets the site and region matching the server and port passed in used when accessing the site from the CPRS tools menu 

	

